<?php
	session_start();
	ob_start();
	
	$conn = mysql_connect("localhost", "root", "");
	mysql_select_db("fastfood", $conn);
	
	mysql_query("SET character_set_results=utf8");
	
	include("IncShoppingCartLibrary.php");
?>

<?php
function fnIncludeBlock($block_content_file, $block_header)
{
	$BLOCK_HEADER = $block_header;
	$BLOCK_CONTENT_FILE = $block_content_file;
	require("IncBlock.php");
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FoodStore</title>
	<link href="css/style.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/preview.css"/>
	<link rel="stylesheet" type="text/css" href="css/wt-rotator.css"/>
    <link rel="stylesheet" href="css/magiczoom.css" type="text/css" media="screen" />
	<script type="text/javascript" src="js/magiczoom.js"></script>
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.wt-rotator.min.js"></script>
	<script type="text/javascript" src="js/preview.js"></script>
</head>

<body>
<div id="container">




<?php include ('menutop.php');?>

<div id="blank_top"></div>
<div id="knife"></div>
<div id="spoon"></div>

<div id="col_left">
	<div id="main_left">
    <?php include("IncLeftSidebar.php")?>
    </div>	
	<div class="clean0"></div>
	<div class="bot_col"></div>
</div><!--End div col_left-->

<div id="col_mid">
	<div id="slide">
   	  <div align="center" style="padding-top:17px;"> <?php include ('banner.php');?> </div>  
    </div><!--End div slide-->
    <div class="clean0"></div>
    <div id="main" align="center">
    
    <?php
        $page = $_REQUEST['p'];
        if(isset($page))
        {
            include("$page.php");
        }
        else
        {
            include("aboutus.php");
        }
    ?>
    
    
    </div><!--End div main-->
    <div class="clean0"></div>
    
    


</div><!--End div col_mid-->

<div id="col_right">
	<div id="main_right">    
    	<?php include("IncRightSidebar.php")?>
    </div>
	<div class="clean0"></div>
	<div class="bot_col"></div>
</div><!--End div col_right-->

<div class="clean0"></div>

<?php include ('bot_main.php');?>

</div><!--End div container-->
<?php include ('footer.php');?>
</body>
</html>

<?php
	mysql_close($conn);
	ob_end_flush();
?>